package com.deer.wms.ASN.manage.dao;

import com.deer.wms.ASN.manage.model.buy.RequestBuyDetail;
import com.deer.wms.ASN.manage.model.buy.RequestBuyDetailCriteria;
import com.deer.wms.ASN.manage.model.buy.RequestBuyDetailDto;
import com.deer.wms.project.root.core.mapper.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface RequestBuyDetailMapper extends Mapper<RequestBuyDetail> {

    List<RequestBuyDetailDto> findList(RequestBuyDetailCriteria criteria);
    RequestBuyDetail findByDetailNo(@Param("detailNo")String detailNo);
    List<RequestBuyDetail> findByBillNo(@Param("billNo") String billNo);
    void deleteByBillNo(@Param("billNo") String billNo);
}